package tung.niit.ict.item;

import tung.niit.ict.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

public class ItemLendedBook extends LinearLayout {

	public ImageView imgBook;
	public TextView tvNameBook;
	public TextView tvIdBook;
	public TextView tvYearBook;
	public TextView tvAuthorBook;
	public TextView tvSotiencuocBook;
	public ItemLendedBook(Context context) {
		super(context);
		LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		inflater.inflate(R.layout.item_lendedbook, this);
		
		imgBook = (ImageView)findViewById(R.id.lendedbookPic);
		tvNameBook = (TextView)findViewById(R.id.tensachlendedbook);
		tvIdBook = (TextView)findViewById(R.id.idlendedbook);
		tvYearBook = (TextView)findViewById(R.id.namSBlendedbook);
		tvAuthorBook = (TextView)findViewById(R.id.tglendedbook);
		tvSotiencuocBook = (TextView)findViewById(R.id.sotiencuoclendedbook);
	}

}
